<?php
  require_once("global.php");
	header("Content-type: text/html;charset=GB2312");
	ob_start("ob_gzhandler");  
	
	$query="select * from dbigmsg where 1=1";
	$query .=" order by bigsort ";
	$navarr =$db->get_sql_arr($query,'mysql_fetch_assoc');
	$siteinfo = getsiteinfo();

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<style type="text/css">
<!--
.style1 { color: #C7C7C7 }
-->
</style>
<link href="css/hei.css"  rel="stylesheet" type="text/css" />
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
<title><?php echo $siteinfo['title'];?></title>
<link href="css/css.css"  rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0" id="bodybg">
<tr>
  <td><table width="940" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="23"><link href="css/hei.css"  rel="stylesheet" type="text/css">
          <table width="940" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td height="26">&nbsp;</td>
            </tr>
            <tr>
              <td height="116" valign="bottom" style="background:url(images/top_bg.gif) no-repeat center;"><?php include('head2.php');?></td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                    <td colspan="2">&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                </table></td>
            </tr>
          </table></td>
      </tr>
      <tr>
        <td height="500" valign="top" background="images/body_bg.gif" ><table width="902" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="31" class="menutb"><?php include('head.php')?></td>
                    <td width="686">
					<?php 
					$imgarr = getimg(2,1,'sortnum',1);
					echo changeimgurl($imgarr['img_url']);
					
					?></td>
                  </tr>
                  <tr>
                    <td valign="top" bgcolor="#343434"><img src="images/1_1.gif"  width="1" height="4" /></td>
                    <td bgcolor="#343434"><img src="images/1_1.gif"  width="1" height="4" /></td>
                  </tr>
                </table>
                <table width="900" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="215" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#4F4F4F">
                        <tr>
                          <td height="30" class="smenutitle style1"><font color="#C7C7C7"><?php echo getnamebyid('dbigmsg','bigname','aid',$_REQUEST['bid']);?></font></td>
                        </tr>
                        <tr>
                          <td style="padding:5px;"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="smenu">
                              <?php
	                $newsub =getmidarr('7');
					if(is_array($newsub))
					{
					  foreach($newsub as $onenews){
				  ?>
                              <tr>
                                <td height="28"><img src="images/li_1.jpg" width="6" height="9" /> <a href="aboutus.php?midname=<?php echo $onenews['midname'];?>&mid=<?php echo $onenews['aid']; ?>&bid=7"><?php echo $onenews['midname'];?></a></td>
                              </tr>
                              <?php
					}
					 }?>
                            </table>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td height="20">&nbsp;</td>
                              </tr>
                            </table></td>
                        </tr>
                        <tr>
                          <td align="left"><table width="214" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td height="4" bgcolor="#343434"><img src="images/1_1.gif"  height="4"/></td>
                              </tr>
                            </table></td>
                        </tr>
                      </table></td>
                    <td height="500" valign="top" style="padding:10px 20px 10px 20px;;"><div id="divnews">
                      <?php include('aboutsub.php')?>
                </div></td>
            </tr>
            <tr>
              <td><?php include('foot.php');?></td>
            </tr>
          </table></td>
      </tr>
    </table>
</body>
</html>
<?php include("onlineserver/onlineserver.php");?>
